﻿<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<?php require_once('header.html')?>

<div id="dcMain">
    <!-- 当前位置 -->
    <div id="urHere">
        DouPHP 管理中心
        <b>></b>
        <strong>文章类别</strong>
    </div>
    <div id="manager" class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
        <h3>
            <a href="<?php echo site_url('admin/artcate/addartcate')?>" class="actionBtn">添加类别</a>文章类别
        </h3>
        <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
            <tr>
                <th width="30" align="center">编号</th>
                <th align="left">类别名称</th>

                <th align="center">操作</th>
            </tr>
            <?php foreach($artcateList as $artcateItem):?>
            <tr>

                <td align="center"><?php echo $artcateItem->cid;?></td>
                <td><?php echo $artcateItem->ctitle;?></td>
                <td align="center">
                    <a href="<?php echo site_url('admin/artcate/editartcate/'.$artcateItem->cid)?>">编辑</a>|
                    <a href="<?php echo site_url('admin/artcate/delartcate/'.$artcateItem->cid)?>">删除</a>
                </td>
            </tr>
            <?php endforeach; ?>
        </table>
        <div class='page'>
            <?php echo $links?>
        </div>
    </div>
</div>
